package com.xjscrm.server.mapper;

import com.xjscrm.common.entity.SyncGroupJob;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface SyncGroupJobMapper {
    int deleteById(Long id);

    int insert(SyncGroupJob record);

    int insertSelective(SyncGroupJob record);

    SyncGroupJob selectById(Long id);

    SyncGroupJob selectByDeviceUniqueIdAndStatus(@Param("deviceUniqueId") Long deviceUniqueId, @Param("status") Integer status);

    int updateByIdSelective(SyncGroupJob record);

    int updateById(SyncGroupJob record);
}